﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using App.Domain.Model;
using App.Composers;

namespace App.Test.UnitTest
{
    class App_Domain_Logic_Test
    {
        private static App_Domain_Logic_Test instance = null;
        private App_Domain_Logic_Test() {
            Init();}

        private void Init()
        {

        }
        private Logic Logic { get { return DomainComposer.Instance.BusinessLogic; } }
        public static App_Domain_Logic_Test Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new App_Domain_Logic_Test();
                }
                return instance;
            }
        }

        internal void Test_NameStyles()
        {
            IEnumerable<KeyValuePair<NameStyleENUM, string>> ns = Logic.NameStyles;
        }
        internal void Test_EmailPromotions()
        {
            IEnumerable<KeyValuePair<EmailPromotionENUM, string>> ep = Logic.EmailPromotions;
        }
        internal void Test_PersonTypes()
        {
            IEnumerable<KeyValuePair<PersonTypeENUM, string>> ep = Logic.PersonTypes;
        }
        internal void Test_AddressTypes()
        {
            IEnumerable<AddressType> at = Logic.AddressTypes;
        }
        internal void Test_ContactTypes()
        {
            IEnumerable<ContactType> ct = Logic.ContactTypes;
        }
        internal void Test_PhoneNumberTypes()
        {
            IEnumerable<PhoneNumberType> pnt = Logic.PhoneNumberTypes;
        }
        internal void Test_GetAddresses()
        {
            IEnumerable<Address> ad = Logic.GetAddresses(null, null);
        }
        internal void Test_GetPhoneNumbers()
        {
            IEnumerable<string> ad = Logic.GetPhoneNumbers(null, null);
        }
        internal void Test_GetEmails()
        {
            IEnumerable<string> ad = Logic.GetEmails(null);
        }
        internal void Test_GetCountries()
        {
            IEnumerable<CountryRegion> ad = Logic.GetCountries(null);
        }
        internal void Test_GetCountry()
        {
            IEnumerable<StateProvince> sp = Logic.GetStates("AU");
        }
    }
}
